import { Post, Put, Delete } from './zz_restful'

export const MenuAPI = {
  create (menu) {
    return Post('/menu', menu)
  },
  put (menu) {
    return Put('/menu', menu)
  },
  delete (params) {
    return Delete('/menu', params)
  },
  table (params) {
    return Post('/menu/table', params)
  }
}
